package cn.ad.entity;

import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.util.Date;

@Alias("agency")
public class Agency extends PO implements Serializable {
	
	private String name;
	
	private double balanceCash;
	
	private double balanceVirtual;

	private int status;
	
	private Date createTime;
	
	private Date lastModTime;
	
	private String phoneNo;
	
	private String email;
	
	private String contactName;
	
	private int commission;

	private Integer createChannel;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public double getBalanceCash() {
		return balanceCash;
	}

	public void setBalanceCash(double balanceCash) {
		this.balanceCash = balanceCash;
	}

	public double getBalanceVirtual() {
		return balanceVirtual;
	}

	public void setBalanceVirtual(double balanceVirtual) {
		this.balanceVirtual = balanceVirtual;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getLastModTime() {
		return lastModTime;
	}

	public void setLastModTime(Date lastModTime) {
		this.lastModTime = lastModTime;
	}

	public String getPhoneNo() {
		return phoneNo;
	}

	public void setPhoneNo(String phoneNo) {
		this.phoneNo = phoneNo;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getContactName() {
		return contactName;
	}

	public void setContactName(String contactName) {
		this.contactName = contactName;
	}

	public int getCommission() {
		return commission;
	}

	public void setCommission(int commission) {
		this.commission = commission;
	}

	public Integer getCreateChannel() {
		return createChannel==null?0:createChannel;
	}

	public void setCreateChannel(Integer createChannel) {
		this.createChannel = createChannel;
	}
}
